﻿using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Controller
{
    class RoomBookedController
    {

        protected RoomBookedBussiness Controller = new RoomBookedBussiness();
        public TblRoomBooked objRoomBooked = new TblRoomBooked();

        public void AddData()
        {
            Controller.AddData(objRoomBooked);
        }

        public bool DeleteData(int k)
        {
            return Controller.DeleteData(k);
        }

        public void UpdateData()
        {
            Controller.UpdateData(objRoomBooked);
        }

        public List<TblRoomBooked> GetAll()
        {
            return Controller.GetAll();
        }

        
    }
}
